package waal.pc.backend.channels;

import waal.pc.backend.module.ModuleAnalog;

public class AnalogOutputChannel extends AnalogChannel {

	private ModuleAnalog analogModule;
	
	public AnalogOutputChannel(ModuleAnalog module, int number, String name) {
		super(module, number, name, false);
		this.analogModule = module;
	}

	public void sendOutput(double value) {
		this.analogModule.sendChannelValue(this.channelNumber, value);
	}
}
